package com.ruoyi.flow.common.tools.mediaconverter.converter.command;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Created by Administrator on 2017/7/14.
 */
public class CommandKiller extends Thread {
    private Process process;

    public CommandKiller(Process process) {
        checkNotNull(process);
        this.process = process;
    }

    @Override
    public void run() {
        process.destroy();;
    }
}
